home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: merlin.hgc.edu!weat4122
- From: weat4122@hgc.edu (gerard weatherby)
- Subject: Re: Classes in DLL's
- Message-ID: <1996Jan24.042026.22231@merlin.hgc.edu>
- Sender: weat4122@hgc.edu
- Organization: The Hartford Graduate Center
- References: <4dpbv4$c0i@news1.usa.pipeline.com>
- Date: Wed, 24 Jan 1996 04:20:26 GMT
-
- In article <4dpbv4$c0i@news1.usa.pipeline.com> grantp@usa.pipeline.com(Pete) writes:
- >On Jan 19, 1996 20:05:35 in article <Classes in DLL's>,
- >'jtoering@vnet.ibm.com' wrote:
- >
- >
- >>I am familiar with how to import functions from
- >>DLL's but how do you import class methods?
- >>
- >This depends on your compiler system. They all
- >are similar in that you need to export your classes
- >as well as individual member functions. Your compiler
- >documentation should describe how it is done.
- >
- >Be aware that DLL's that export classes -- or any C++
- >symbols, for that matter -- are usable only by callers
- >that are compiled with the same vendor's compiler.
- >
- >--
- >Pete Grant
- >Kalevi, Inc.
- >Object Oriented Software Development
-
- Generally (Borland and Visual) you use the keyword _export or __export.
- Some versions of Borland allow a single _export statement (after the
- keyword class, as I recall) to export all functions of the class.
-